// import "highlight.js/styles/github.css";
import "highlight.js/styles/github.css";
import highlight from "highlight.js";

export function hight(el) {
  if (!el) return;
  var $code = el.querySelectorAll("pre code");
  if ($code && $code.length > 0) {
    $code.forEach(($c) => {
      highlight.highlightBlock($c);
    });
  }
}
